(global.webpackJsonp = global.webpackJsonp || []).push([ [ "uview-ui/components/u-avatar/u-avatar" ], {
    "343d": function(A, t, e) {
        e.r(t);
        var a, n = e("aad0"), r = e.n(n);
        for (a in n) "default" !== a && function(A) {
            e.d(t, A, function() {
                return n[A];
            });
        }(a);
        t.default = r.a;
    },
    4246: function(A, t, e) {
        e.d(t, "b", function() {
            return n;
        }), e.d(t, "c", function() {
            return r;
        }), e.d(t, "a", function() {
            return a;
        });
        var a = {
            uIcon: function() {
                return e.e("uview-ui/components/u-icon/u-icon").then(e.bind(null, "bee6"));
            }
        }, n = function() {
            var A = this, t = (A.$createElement, A._self._c, A.__get_style([ A.wrapStyle ])), e = !A.uText && A.avatar ? A.__get_style([ A.imgStyle ]) : null, a = A.showSex ? A.__get_style([ A.uSexStyle ]) : null, n = A.showLevel ? A.__get_style([ A.uLevelStyle ]) : null;
            A.$mp.data = Object.assign({}, {
                $root: {
                    s0: t,
                    s1: e,
                    s2: a,
                    s3: n
                }
            });
        }, r = [];
    },
    "7b45": function(A, t, e) {},
    aad0: function(A, t, e) {
        Object.defineProperty(t, "__esModule", {
            value: !0
        }), t.default = void 0;
        var a = "", n = {
            name: "u-avatar",
            props: {
                bgColor: {
                    type: String,
                    default: "transparent"
                },
                src: {
                    type: String,
                    default: ""
                },
                size: {
                    type: [ String, Number ],
                    default: "default"
                },
                mode: {
                    type: String,
                    default: "circle"
                },
                text: {
                    type: String,
                    default: ""
                },
                imgMode: {
                    type: String,
                    default: "aspectFill"
                },
                index: {
                    type: [ String, Number ],
                    default: ""
                },
                sexIcon: {
                    type: String,
                    default: "man"
                },
                levelIcon: {
                    type: String,
                    default: "level"
                },
                levelBgColor: {
                    type: String,
                    default: ""
                },
                sexBgColor: {
                    type: String,
                    default: ""
                },
                showSex: {
                    type: Boolean,
                    default: !1
                },
                showLevel: {
                    type: Boolean,
                    default: !1
                }
            },
            data: function() {
                return {
                    error: !1,
                    avatar: this.src || a
                };
            },
            watch: {
                src: function(A) {
                    A ? (this.avatar = A, this.error = !1) : (this.avatar = a, this.error = !0);
                }
            },
            computed: {
                wrapStyle: function() {
                    var A = {};
                    return A.height = "large" == this.size ? "120rpx" : "default" == this.size ? "90rpx" : "mini" == this.size ? "70rpx" : this.size + "rpx", 
                    A.width = A.height, A.flex = "0 0 ".concat(A.height), A.backgroundColor = this.bgColor, 
                    A.borderRadius = "circle" == this.mode ? "500px" : "5px", this.text && (A.padding = "0 6rpx"), 
                    A;
                },
                imgStyle: function() {
                    var A = {};
                    return A.borderRadius = "circle" == this.mode ? "500px" : "5px", A;
                },
                uText: function() {
                    return String(this.text)[0];
                },
                uSexStyle: function() {
                    var A = {};
                    return this.sexBgColor && (A.backgroundColor = this.sexBgColor), A;
                },
                uLevelStyle: function() {
                    var A = {};
                    return this.levelBgColor && (A.backgroundColor = this.levelBgColor), A;
                }
            },
            methods: {
                loadError: function() {
                    this.error = !0, this.avatar = a;
                },
                click: function() {
                    this.$emit("click", this.index);
                }
            }
        };
        t.default = n;
    },
    eacb: function(A, t, e) {
        e.r(t);
        var a, n = e("4246"), r = e("343d");
        for (a in r) "default" !== a && function(A) {
            e.d(t, A, function() {
                return r[A];
            });
        }(a);
        e("fa54");
        var l = e("f0c5"), n = Object(l.a)(r.default, n.b, n.c, !1, null, "149c199e", null, !1, n.a, void 0);
        t.default = n.exports;
    },
    fa54: function(A, t, e) {
        var a = e("7b45");
        e.n(a).a;
    }
} ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "uview-ui/components/u-avatar/u-avatar-create-component", {
    "uview-ui/components/u-avatar/u-avatar-create-component": function(A, t, e) {
        e("543d").createComponent(e("eacb"));
    }
}, [ [ "uview-ui/components/u-avatar/u-avatar-create-component" ] ] ]);